
package com.bei_en.teacher.admin.persistence.dao.users;

import java.util.List;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;
import com.bei_en.teacher.admin.model.users.bean.UsersDetails;
import com.bei_en.teacher.admin.model.users.condition.UsersDetailsCondition;
import com.bei_en.teacher.admin.persistence.BaseDao;

/**
 * （个人资料）
 * @author Guocg
 * @date 2016-7-27 10:03:24
 */
@Repository
public interface UsersDetailsDao extends BaseDao<UsersDetails, Integer> {

    Integer findNumberByCondition(UsersDetailsCondition vo);

    List<UsersDetails> findPageBreakByCondition(UsersDetailsCondition vo, RowBounds rb);

    /**
     * 返回上次插入的id，用于merge
     * @return
     */
    Integer findLastInsertedId();
}
